package net.sangpil.applications.viewer.event
{
	import flash.events.Event;

	public class Viewer3dEvent extends Event
	{
		public static const CAMERA_POS_CHANGE:String = "camera_pos_change";
		public static const OBJECT_POS_CHANGE:String = "object_pos_change";
		
		public var p3Dx:Number;
		public var p3Dy:Number;
		public var p3Dz:Number;
		public var r3Dx:Number;
		public var r3Dy:Number;
		public var r3Dz:Number;
		
		public function Viewer3dEvent(x:Number, y:Number, z:Number, rx:Number, ry:Number, rz:Number, type:String, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
			this.p3Dx = x;
			this.p3Dy = y;
			this.p3Dz = z;
			this.r3Dx = rx;
			this.r3Dy = ry;
			this.r3Dz = rz;
		}
		
	}
}